package com.example.design.practice.dark.v1;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

public class DarkRuleConfig {
  private List<DarkFeatureConfig> features;

  public List<DarkFeatureConfig> getFeatures() {
    return this.features;
  }

  public void setFeatures(List<DarkFeatureConfig> features) {
    this.features = features;
  }

  @Setter
  @Getter
  public static class DarkFeatureConfig {
    private String key;
    private Boolean enabled;
    private String rule;
  }
}